package com.wo.cloud.controller;

import com.wo.cloud.util.Response;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/4/19 22:12
 * Description: security 接口测试类
 */

@RequestMapping("/test")
@RestController
public class TestController {

    @RequestMapping("/ceshi1")
    public Response ok(){
        return Response.success("测试正常");
    }

    @RequestMapping("/ceshi2")
    public Response error(){
        return Response.success("测试失败");
    }
}
